<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Store test page</title>
<link type="text/css" href="css/smoothness/jquery-ui-1.8.22.custom.css"
	rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.22.custom.min.js"></script>
<script type="text/javascript">

	var say = function(text) {
		$('<p>' + text + '</p>').appendTo('body');
	}

	$(function() {
		$('.testSubject').dialog({autoOpen:true, closeOnEscape:false, modal:true, resizable:false, height:"auto", hide:"fade", position:"center", show:"slide", closeText:"zamnkij", title:"sadsadsadsadsa", minHeight:100, maxHeight:500, buttons:{'Zatwierdź':(function (event) {say("You clicked the " + $(event.target).text() + " button"); $('.testSubject').dialog('close');})}});
	});
	
</script>
<style type="text/css">
</style>
</head>
<body>
	<div class="testSubject" title="Test subject dialog">
		<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam
			gravida nisi sit amet dolor elementum feugiat. Phasellus pharetra
			quam quis nisi fermentum non dictum diam tristique. Pellentesque
			metus felis, lacinia ac interdum nec, elementum at nisl. Fusce
			malesuada imperdiet neque, id iaculis orci sodales cursus.</p>
		<p>Nulla ut risus nec quam pretium semper. Proin congue dictum
			sapien, at tincidunt sapien viverra non. Donec luctus eros vel urna
			ullamcorper gravida. Suspendisse vitae quam et lorem ornare
			adipiscing. Pellentesque habitant morbi tristique senectus et netus
			et malesuada fames ac turpis egestas. Aenean ante leo, facilisis vel
			feugiat ac, ultricies quis sem.</p>
	</div>
</body>
</html>



